package org.metasketch.demo.model;

import java.util.ArrayList;
import java.util.List;

import org.metasketch.model.CommonIdentified;

public class TransactionStep extends CommonIdentified {

	// String id;

	TransactionKind parentTransaction;
	ActionRule rule;

	List<CoordinationLink> ownedCoordinationLinks = new ArrayList<CoordinationLink>();

	// public String getId() {
	// return id;
	// }
	//
	// public void setId(String id) {
	// this.id = id;
	// }

	public TransactionKind getParentTransaction() {
		return parentTransaction;
	}

	public void setParentTransaction(TransactionKind parent) {
		this.parentTransaction = parent;
	}

	public ActionRule getRule() {
		return rule;
	}

	public void setRule(ActionRule rule) {
		this.rule = rule;
	}

	public List<CoordinationLink> getOwnedCoordinationLinks() {
		return ownedCoordinationLinks;
	}

	public void setOwnedCoordinationLinks(List<CoordinationLink> links) {
		this.ownedCoordinationLinks = links;
	}

}
